#!/usr/bin/env python
#-*-encoding:utf-8-*-
'''
Created on 2015年3月3日

@author: chenyongbing
'''
import sys,os
#current_dir = os.path.dirname(__file__)
current_dir = os.path.split(os.path.realpath(__file__))[0]

from django import forms


class SearchForm(forms.Form):
    devices = forms.CharField(widget=forms.Textarea(attrs={'placeholder':"设备mac地址1\n设备mac地址2\n..\n设备mac地址N",'onclick':"if(value==defaultValue){value='';this.style.color='#000'}",'onBlur':"if(!value){value=defaultValue;this.style.color='#999'}"}),label=u'门店数据',required=False)